using System;
using System.Linq;

namespace RStein.Posterous.API
{
    public static class UriExtensions
    {
        public const char URI_SEPARATOR = '/';
        public static string GetBitLySuffix(this Uri uri)
        {
            return uri.OriginalString.Split(URI_SEPARATOR).Last();            
        }
    }
}